package com.nanhai.buddhist.college.module.collegebase.convert.classroominfo;

import java.util.*;

import com.nanhai.buddhist.college.framework.common.pojo.PageResult;

import com.nanhai.buddhist.college.module.collegebase.api.room.dto.RoomRespDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.classroominfo.vo.*;
import com.nanhai.buddhist.college.module.collegebase.dal.dataobject.classroominfo.ClassroomInfoDO;

/**
 * 教室 Convert
 *
 * @author 南海佛学院
 */
@Mapper
public interface ClassroomInfoConvert {

    ClassroomInfoConvert INSTANCE = Mappers.getMapper(ClassroomInfoConvert.class);

    ClassroomInfoDO convert(ClassroomInfoCreateReqVO bean);

    ClassroomInfoDO convert(ClassroomInfoUpdateReqVO bean);

    ClassroomInfoRespVO convert(ClassroomInfoDO bean);

    List<ClassroomInfoRespVO> convertList(List<ClassroomInfoDO> list);

    PageResult<ClassroomInfoRespVO> convertPage(PageResult<ClassroomInfoDO> page);

    List<ClassroomInfoExcelVO> convertList02(List<ClassroomInfoDO> list);

    List<RoomRespDTO> convertList03(List<ClassroomInfoDO> classroomInfoList);
}
